package xdpm.nhom16.helper;

import java.util.Comparator;

import xdpm.nhom16.DTO.DuLieuSearchDTO;


public class TenDichVuComparator implements Comparator<DuLieuSearchDTO>{
	public int compare(DuLieuSearchDTO dtFirst, DuLieuSearchDTO dtSecond)	{
		String strFirst = dtFirst.getTenDichVu();
		String strSecond = dtSecond.getTenDichVu(); 
		int iCompare = strFirst.compareToIgnoreCase(strSecond);
		return iCompare;
	}
}
